package com.firestone.bean.entity.elasticsearch.nested;

import org.springframework.data.elasticsearch.annotations.DateFormat;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

/**
 * @author dingjc
 * @Description：TODO(能力范围-认可的检验能力范围)
 * @date 2018年04月18日  上午 11:36
 */
public class TestRange {

    /**
     * deadline:TODO(截至日期)
     */
    @Field(type = FieldType.Date,format = DateFormat.date,pattern = "yyyy-MM-dd")
    private String deadline;

    /**
     * sample_type:TODO(样品类型)
     */
    @Field(type = FieldType.keyword)
    private String sample_type;

    /**
     * state:TODO(状态)
     */
    @Field(type = FieldType.keyword)
    private String state;

    /**
     * test_introduction:TODO(说明)
     */
    @Field(type = FieldType.text,analyzer = "ik_max_word")
    private String test_introduction;

    /**
     * test_item:TODO(检验项目)
     */
    @Field(type = FieldType.keyword)
    private String test_item;

    /**
     * test_method:TODO(检验方法)
     */
    @Field(type = FieldType.keyword)
    private String test_method;
}
